﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.Data
{
    /// <summary>
    /// 多边形中线存储结构 线及方向
    /// </summary>
    [Serializable]
    public class LineAndDirection
    {
        public LineAndDirection(LineFO line, int direction = 1)
        {
            this._line = line;
            this._direction = direction;
        }

        LineFO _line;
        /// <summary>
        /// 线
        /// </summary>
        public LineFO Line
        {
            get { return _line; }
            set { _line = value; }
        }

        int _direction;
        /// <summary>
        /// 线的方向
        /// </summary>
        public int Direction
        {
            get { return _direction; }
            set { _direction = value; }
        }
    }
}
